<?php
return [
    'enum' => 'App\Api\Enms\ResponseEnum',
    'fail_code' => false,
    'success_code' => false,
    'error_code' => [
        'code' => 500,
        'message' => '系统错误'
    ],
    'exception' => [
        \Illuminate\Validation\ValidationException::class => [
            'code' => 400,
            'message' => '参数错误'
        ],
        \Symfony\Component\HttpKernel\Exception\NotFoundHttpException::class => [
            'code' => 404,
            'message' => '路径请求错误'
        ],
        \Illuminate\Database\Eloquent\MethodNotAllowedHttpException::class => [
            'code' => 405,
            'message' => '请求类型出错'
        ],
        \Illuminate\Auth\AuthenticationException::class => [
            'code' => 401,
            'message' => '账户异常'
        ],
    ],
];
